package org.springframework.aop;

import java.lang.reflect.Method;

/**
 * @Name MethodBeforeAdvice
 * @Description: 目标方法前置增强 [处理逻辑] 接口
 * @Version v1.0.0
 * @Author: lichao
 * @Date: 2024-03-28 14:05:03
 **/
public interface MethodBeforeAdvice extends BeforeAdvice {

    /**
     * 目标方法执行前的处理逻辑
     *
     * @param method 目标方法
     * @param args 入参
     * @param target 目标对象
     * @version v1.0.0
     * @author lichao
     * @date 2024-03-28 14:05:55
     */
    void before(Method method, Object[] args, Object target) throws Throwable;

}
